PDF4Java Reference Documentation
com.o2sol.pdf4java Package / PDFPageCollection Class


In This Topic
    PDFPageCollection Class Methods
    In This Topic

    For a list of all members of this type, see PDFPageCollection members.

    Public Methods
     NameDescription
    Public MethodAdds a new page at the end of the collection.  
    Public MethodClears the collection. (Inherited from com.o2sol.pdf4java.core.collections.Collection<T>)
    Public MethodConverts the internal pages structure from a list to a tree.
    By default, the library stores the pages in a single list which can become very large if the document has many pages. Some PDF processors have trouble procesing such long lists, so this method transform the internal pages structure into a tree.
    Note: This method should be called only once before the document is saved and only on documents creates from scratch with the library.  
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code.  
    Public MethodRemoves an object from the collection. (Inherited from com.o2sol.pdf4java.core.collections.Collection<T>)
    Public MethodRemoves the object at the specified index from the collection. (Inherited from com.o2sol.pdf4java.core.collections.Collection<T>)
    Public MethodReplaces an object at the specified index in the collection. (Inherited from com.o2sol.pdf4java.core.collections.Collection<T>)
    Top
    Protected Methods
     NameDescription
    Protected MethodThis method supports the internal library infrastructure and should not be used by external client code.  
    Protected MethodThis method supports the internal library infrastructure and should not be used by external client code.  
    Protected MethodThis method supports the internal library infrastructure and should not be used by external client code.  
    Protected MethodThis method supports the internal library infrastructure and should not be used by external client code.  
    Top
    See Also